<template>
	<view class="main">
		<u-navbar
		title="项目评价"
		title-size="34"
		back-icon-color="#ffffff"
		title-color="#ffffff"
		:border-bottom="false"
		:background="background">
		</u-navbar>
		<view class="content">
			<view class="num">
				<text>0.0</text>
				<text>分</text>
			</view>
			<u-rate disabled active-color="#FF6C00" inactive-color="#FF6C00" :count="5" size="45" v-model="number"></u-rate>
			<view class="des">0人参与评价</view>
		</view>

	</view>
</template>

<script>
	export default{
		data(){
			return{
				background: {
					backgroundColor:"#4A90E2"
				},
				number:5
			}
		},
		onLoad() {
			
		},
		onShow() {
			
		},
		onPullDownRefresh() {

		    setTimeout(function () {
		        uni.stopPullDownRefresh();
		    }, 1000);
		},
		methods: {
			//返回
			black(){
				uni.navigateBack()
			},
			toPage(url){
				uni.navigateTo({
				    url: url
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
	.main{
		min-height: 100vh;
		background-color: #f9f9f9;
		padding:30rpx;
		.header{
			flex: 1;
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding:0 30rpx;
			.title{
				font-size: 34rpx;
				font-weight: 400;
				color: #FFFFFF;
				line-height: 34rpx;
			}
		}
		.content{
			background: #FFFFFF;
			border-radius: 8rpx;
			padding: 28rpx;
			display: flex;
			align-items: center;
			flex-direction: column;
			justify-content: center;
			.num{
				text{
					&:first-child{
						font-size: 58rpx;
						font-weight: 500;
						color: #4A90E2;
						line-height: 81rpx;
					}
					&:last-child{
						font-size: 24rpx;
						font-weight: 500;
						color: #C7C7C7;
						line-height: 33rpx;
						margin-left: 20rpx;
					}
				}
			
			}
			.u-rate{
				margin: 28rpx 0;
			}
			.des{
				font-size: 24rpx;
				font-weight: 500;
				color: #C7C7C7;
				line-height: 33rpx;
				margin-bottom: 42rpx;
			}
		}
		
	}
</style>
